package com.shandao.shangxiu.util;

/**
 * Created by Administrator on 2015/7/8.
 */
public class SharedPre {

    public static abstract class Constant {
        public static final String GUEST_USER = "guest_user";
        public static final String Third_Platform_USER = "third_platform_user";
        public static final String APP_USER = "app_user";
    }

    public static abstract class App {
        public static final String VERSION = "app_version";//版本信息
        public static final String ACCOUNT = "app_account";//用户帐号
        public static final String ACCESS_TOKEN = "app_access_token";//
        public static final String ISGUIDE = "app_isguide";//
        public static final String USER_TPE = "user_type";//用户类型 ,  GUEST_USER 游客
        // ThirdPlatform_USER 第三方登录用户 APP_USER 平台用户
        public static final String EXPIRES_IN = "expires_in";//过期时间
        public static final String THIRD_PLATFORM_LOGIN_TIME = "third_platform_login_time";//第三方登录时间
        public static final String START_IMAGE = "start_image";//启动页
        public static final String APP_DEVICEID = "app_deviceid";//启动页
    }

    public static abstract class User {
        public static final String ACCOUNT_UID = "user_account_uid";//用户帐号ID
        public static final String ALIAS = "user_alias";//用户别称
        public static final String MEMBER_ID = "user_member_id";//用户会员ID
        public static final String MEMBER_LEVEL = "user_member_level";//用户等级
        public static final String MEMBER_STATUS = "user_member_status";//用户状态
        public static final String ID_NUMBER = "user_id_number";//用户ID号
        public static final String ID_TYPE = "user_id_type";//用户ID类型
        public static final String IS_CHECKID = "user_is_checkid";//用户是否验证过
        public static final String AVATAR_URL = "user_avatar_url";//用户头像url
        public static final String MOBILE = "user_mobile";//用户手机
        public static final String IS_CHECK_MOBILE = "user_is_check_mobile";//用户手机是否验证
        public static final String EMAIL = "user_email";//用户邮箱
        public static final String IS_CHECK_MAIL = "user_is_check_mail";//用户邮箱是否验证
        public static final String NAME = "user_name";//用户名
        public static final String GENDER = "user_gender";//用户性别
        public static final String UPDATE_TIME = "user_update_time";//用户更新时间
    }

    public static abstract class Cart {
        public static final String CODE = "cart_code";//购物车编码
        public static final String GUID = "cart_guid"; //已登录用户购物车唯一标识
        public static final String GUEST_GUID = "guest_cart_guid"; //游客购物车唯一标识
    }

    public static abstract class Location {
        public static final String ACRONYM_NAME = "location_acronym_name"; //显示的城市
        public static final String PROVINCE_CODE = "location_province_code";//省份编码
        public static final String CITY_CODE = "location_city_code"; //城市编码
        public static final String DISTRICT_CODE = "location_district_code"; // 区县编码
    }

    public static abstract class Homepager {
        public static final String LINKGROUPS = "linkgroups";//首页的显示布局
    }

}
